package com.kunyi.web.service.file.entity.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * @ClassName TemplateSaveReq
 * @Description /template/save接口参数
 * @Author pengjunjun
 * @Date 2024/03/04
 * @Version 1.0
 **/
@Data
@ApiModel("export/template/save接口参数")
public class TemplateSaveReq implements Serializable {

    @NotBlank(message = "模板编码不能为空")
    @ApiModelProperty(value = "模板编码",required = true)
    private String code;

    @ApiModelProperty("获取数据的地址")
    private String dataUrl;

    @ApiModelProperty("结果通知地址")
    private String notifyUrl;

    @NotBlank(message = "文件地址不能为空")
    @ApiModelProperty(value = "文件地址",required = true)
    private String filePath;

    @ApiModelProperty("备注")
    private String remark;
}
